<?php
set_time_limit(0);
use Curl\Curl;
$root = dirname(__FILE__);
include $root.'/vendor/autoload.php';
$client = new Predis\Client([
    'scheme' => 'tcp',
    'host'   => '127.0.0.1',
    'port'   => 6379,
]);

$client->set('test',12345);
echo $client->get('test');


